import request from '@/utils/request'
// 查询TID5店铺库存日报列表
export function shopInventoryData(query) {
  return request({
    url: '/product/BiShopInventoryDwd/shopInventoryData',
    method: 'get',
    params: query
  })
}
// 查询TID5店铺库存日报列表
export function updateStockRotationRate(query) {
  return request({
    url: '/product/BiShopInventoryDwd/updateStockRotationRate',
    method: 'get',
    params: query
  })
}
// 查询TID5店铺库存日报列表
export function listBiShopInventoryDwd(query) {
  return request({
    url: '/product/BiShopInventoryDwd/list',
    method: 'get',
    params: query
  })
}

// 查询TID5店铺库存日报详细
export function getBiShopInventoryDwd(id) {
  return request({
    url: '/product/BiShopInventoryDwd/' + id,
    method: 'get'
  })
}

// 新增TID5店铺库存日报
export function addBiShopInventoryDwd(data) {
  return request({
    url: '/product/BiShopInventoryDwd',
    method: 'post',
    data: data
  })
}

// 修改TID5店铺库存日报
export function updateBiShopInventoryDwd(data) {
  return request({
    url: '/product/BiShopInventoryDwd',
    method: 'put',
    data: data
  })
}

// 删除TID5店铺库存日报
export function delBiShopInventoryDwd(id) {
  return request({
    url: '/product/BiShopInventoryDwd/' + id,
    method: 'delete'
  })
}
